﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using System.Xml.Linq;

namespace Orion.Lib
{
   public struct LevelDescriptor
    {
        public string Name;
        public int Index;
        public Texture2D icon;
        public string frameFile;
        public string category;
        public ILevelProvider provider;
        //public List<String> paricleEffectsNames = new List<string>();
        //public string BackGroundImage;
    }

    public interface ILevelProvider
    {
       List<LevelDescriptor> GetLevels(ILevelProvider providerInstance);
       XDocument GetLevelFile(LevelDescriptor ld);
       string GetProviderName { get; }
       string GetProviderVersion { get; }
    }
}
